.viewer-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #000;
  color: white;
  overflow: hidden;
}

/* 顶部工具栏样式 */
.viewer-header {
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1e2538;
  height: 5vh;
  min-height: 40px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.header-left, .header-center, .header-right {
  display: flex;
  align-items: center;
}

.patient-info {
  display: flex;
  flex-direction: column;
  min-width: 150px;
  max-width: 200px;
}

.patient-name {
  font-weight: bold;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.patient-details {
  font-size: 12px;
}

.patient-details span {
  margin-right: 10px;
}

.study-selector {
  width: 250px;
  margin-left: 15px;
}

.toolbar {
  display: flex;
  align-items: center;
}

.toolbar .el-button-group {
  margin-right: 10px;
}

/* 主要内容区域样式 */
.viewer-content {
  flex: 1;
  display: flex;
  height: 95vh;
  overflow: hidden;
}

/* 影像展示区域 */
.viewer-main {
  width: 88%;
  height: 100%;
  position: relative;
}

.viewer-container {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

.viewer-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  background-color: #000;
  overflow: hidden;
}

.cornerstone-element {
  flex: 1;
  width: 100%;
  background-color: #000;
}

/* 图像信息覆盖层 */
.image-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 8px 12px;
  border-radius: 4px;
  z-index: 100;
  font-size: 12px;
}

.image-info {
  text-align: left;
}

.series-description {
  font-weight: bold;
  margin-bottom: 3px;
}

.image-count {
  color: #e6a23c;
}

.image-details {
  color: #909399;
  margin-top: 3px;
}

/* 垂直进度条样式 */
.vertical-stack-navigator {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(30, 37, 56, 0.7);
  padding: 8px 5px;
  border-radius: 4px;
  z-index: 100;
}

.vertical-stack-navigator .el-slider {
  height: 200px;
}

.vertical-stack-navigator .el-button {
  padding: 5px;
  min-width: 28px;
}

.loading-progress {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-progress .el-progress {
  transform: scale(0.8);
}

.loading-progress .progress-text {
  font-size: 10px;
  margin-top: 2px;
  color: white;
}

/* AI 预测结果区域 */
.ai-prediction-panel {
  width: 12%;
  height: 100%;
  background-color: #1e2538;
  border-left: 1px solid #2c3e50;
  display: flex;
  flex-direction: column;
}

.panel-header {
  padding: 10px;
  border-bottom: 1px solid #2c3e50;
}

.panel-header h3 {
  margin: 0;
  font-size: 14px;
  color: #e6a23c;
}

.panel-content {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.placeholder-text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #909399;
}

.placeholder-text i {
  font-size: 32px;
  margin-bottom: 10px;
}

.placeholder-text p {
  text-align: center;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
  .viewer-main {
    width: 85%;
  }
  
  .ai-prediction-panel {
    width: 15%;
  }
}

@media screen and (max-width: 768px) {
  .viewer-main {
    width: 100%;
  }
  
  .ai-prediction-panel {
    display: none;
  }
  
  .study-selector {
    width: 150px;
  }
  
  .patient-info {
    max-width: 120px;
  }
} 